package com.dongdongshop.service;

import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.pojo.TbTypeTemplate;

import java.util.List;

public interface TbItemCatSerive {
    List<TbItemCat> getTbItemCat(Long parentId);


    List<TbTypeTemplate> selectTemlate();

    int addInfo(TbItemCat tbItemCat);

    TbItemCat toUpdate(Long id);

    int updateInfo(TbItemCat tbItemCat);

    int deleteInfo(Long[] ids);

    TbItemCat showTypeId(Long parentId);

    List<TbItemCat> showItem();

}
